package com.cdpm.system.service.impl;

import com.cdpm.system.domain.StrategyBuryingPoint;
import com.cdpm.system.domain.vo.BuryingPointContent;
import com.cdpm.system.mapper.BuryingPointContentMapper;
import com.cdpm.system.mapper.StrategyBuryingPointMapper;
import com.cdpm.system.service.IBuryingPointContentService;
import com.cdpm.system.service.IStrategyBuryingPointService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description:
 * @author: longjy
 * @create: 2024-08-29 16:52
 **/
@Service
public class BuryingPointContentServiceImpl implements IBuryingPointContentService {

    @Resource
    BuryingPointContentMapper buryingPointContentMapper;
    @Override
    public List<BuryingPointContent> findList(BuryingPointContent buryingPointContent) {
        List<BuryingPointContent> list = buryingPointContentMapper.findList(buryingPointContent);
        return list;
    }

    @Override
    public int insert(BuryingPointContent buryingPointContent) {
        return buryingPointContentMapper.insert(buryingPointContent);
    }

    @Override
    public int update(BuryingPointContent buryingPointContent) {
        return buryingPointContentMapper.updateById(buryingPointContent);
    }


}
